package com.cs.study.homework.test;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.Scanner;

public class Demo3 {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        properties.load(new FileInputStream("_0325/config.properties"));

        String user = properties.getProperty("user");
        String password = properties.getProperty("password");

        Scanner sc = new Scanner(System.in);
        String use = sc.nextLine();
        String psd = sc.nextLine();

        if (user.equals(use)&&password.equals(psd)){
            System.out.println(true);
        }else {
            System.out.println(false);
        }
        int a = 1;
        int b = 2;
        System.out.println(a == b);
        String s = "a";
        String c = "a";
        System.out.println(s==c);

    }
}
